# A very simple setup script to create an executable.
#
# Run the build process by entering 'setup.py py2exe' or
# 'python setup.py py2exe' in a console prompt.
#
# If everything works well, you should find a subdirectory named 'dist'
# containing some files, among them keylogger.exe and keylogger_debug.exe.


from distutils.core import setup
import py2exe


setup(
    # The first three parameters are not required, if at least a
    # 'version' is given, then a versioninfo resource is built from
    # them and added to the executables.
    name = 'School Admin',
    version = '1.0',
    description = 'Alpha Build',
    url = 'http://sarathlakshman.info',
    license = 'GPL v.3',
    author = 'Sarath Lakshman',
    author_email = 'sarathlakshman@slynux.org',
    platforms = ['GNU/Linux,MS Windows'],

    data_files = [("",["settings",
                        "database"])],
    # targets to build
    console = [
        {
            "script": "app.pyw", 
            
        }
    ],
    
    windows = [
       {
           "script": "app.pyw",
           "dest_base": "school-admin",
	     "icon_resources":[(1,"app.ico")]

       }
    
    ],
	
   
		
    )

